﻿@page "/"
@attribute [TabItemOption(Text = "Index", Closable = false)]

<PageTitle>Index</PageTitle>

<div class="page-container">

    <Table TItem="Foo" RenderMode="TableRenderMode.Table" class="table-users"
           IsPagination="true" PageItemsSource="@PageItemsSource" IsFixedHeader="true"
           IsStriped="true" IsBordered="true" ShowExtendButtons="true" ShowExtendDeleteButton="false" ShowToolbar="true" ShowDeleteButton="false" ShowEditButton="false" OnQueryAsync="OnQueryAsync">
        <TableColumns>
            <TableColumn @bind-Field="@context.DateTime" Width="260" />
            <TableColumn @bind-Field="@context.ClientId" Width="250">
                <EditTemplate Context="value">
                    <div class="col-12 col-sm-6 col-md-6">
                        <TestDemo />
                    </div>
                </EditTemplate>
            </TableColumn>
            <TableColumn @bind-Field="@context.Count" Align="Alignment.Left" Width="150" />
            <TableColumn @bind-Field="@context.Address" Align="Alignment.Left" />
        </TableColumns>
    </Table>
</div>
